package cn.bugstack.trigger.api;


import cn.bugstack.trigger.api.request.RaffleRequestDTO;
import cn.bugstack.trigger.api.request.RaffleResponseDTO;
import cn.bugstack.trigger.api.response.RaffleAwardListRequestDTO;
import cn.bugstack.trigger.api.response.RaffleAwardListResponseDTO;
import cn.bugstack.types.model.Response;

import java.util.List;

/**
 * @Title: IRaffleService
 * @Description:
 * @author: jiangta
 * @date: 2024/12/8 10:10 上午
 * @Version: 1.0
 */
public interface IRaffleService {

    /**
     * 策略装配接口
     *
     * @param strategyId
     * @return
     */
    Response<Boolean> strategyArmory(Long strategyId);

    /**
     * 查询抽奖奖品列表配置
     *
     * @param requestDTO
     * @return
     */
    Response<List<RaffleAwardListResponseDTO>> queryRaffleAwardList(RaffleAwardListRequestDTO requestDTO);

    /**
     * 随机抽奖接口
     *
     * @param requestDTO
     * @return
     */
    Response<RaffleResponseDTO> randomRaffle(RaffleRequestDTO requestDTO);
}
